#include <conio.h>
#include <iostream>
#include <string>
using namespace std;
#include "Dice.h"

int main()
{
	Dice dice1, dice2;
	int i=1;

		cout << "Welcome to a game of dice! \n\nPress ENTER to begin" << endl;
		cout << "Want to quit? Press any other key" << endl;

	while (1)
	{


		if (_getch() == '\r')
		{
			system ("CLS");
			cout << "ROUND " << i << endl << endl;
			cout << "Player 1" << endl;

			dice1.PrintDice();

			cout << "Player 2" << endl;

			dice2.PrintDice();

			cout << "\nWant to continue? Press ENTER" << endl;
			cout << "Want to quit? Press any other key" << endl;
			i++;
		}
		else
		{
			return 0;
		}

	}
}